package cn.aws360.boot.system.api.pojo.request;

import cn.aws360.boot.base.api.validation.ValidationGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author junnan
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("系统用户角色-写入实例")
public class SysUserResetWrite {

    @ApiModelProperty(value = "用户 id", required = true)
    @NotNull(message = "用户 id 不能为空", groups = {ValidationGroup.edit.class})
    private Integer id;

    @ApiModelProperty(value = "锁定标识，0：正常， 1：锁定")
    private Integer lock;

    @ApiModelProperty(value = "重置密码，1：重置密码为默认值")
    private Integer pass;

}
